#include"queue.h"
#include<vector>
#include<list>

void test1(){
	//stack<int , vector<int>> st;不能使用vector，因为vector没有提高pop_front的接口
	queue<int , list<int>> q;
	q.push(1);
	q.push(2);
	q.push(3);
	q.push(4);
	while(!q.empty()){
		cout << q.front() << " ";
		q.pop();
	}
	cout << "\n";
}

int main(){
	test1();
	return 0;
}